package orm;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractBuyer entity provides the base persistence definition of the Buyer
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractBuyer implements java.io.Serializable {

	// Fields

	private Integer buyerId;
	private String buyerName;
	private String password;
	private String address;
	private String city;
	private String phone;
	private String zipcode;
	private String country;
	private Set groups = new HashSet(0);
	private Set accounts = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractBuyer() {
	}

	/** minimal constructor */
	public AbstractBuyer(String buyerName, String password, String address,
			String city, String phone, String zipcode, String country) {
		this.buyerName = buyerName;
		this.password = password;
		this.address = address;
		this.city = city;
		this.phone = phone;
		this.zipcode = zipcode;
		this.country = country;
	}

	/** full constructor */
	public AbstractBuyer(String buyerName, String password, String address,
			String city, String phone, String zipcode, String country,
			Set groups, Set accounts) {
		this.buyerName = buyerName;
		this.password = password;
		this.address = address;
		this.city = city;
		this.phone = phone;
		this.zipcode = zipcode;
		this.country = country;
		this.groups = groups;
		this.accounts = accounts;
	}

	// Property accessors

	public Integer getBuyerId() {
		return this.buyerId;
	}

	public void setBuyerId(Integer buyerId) {
		this.buyerId = buyerId;
	}

	public String getBuyerName() {
		return this.buyerName;
	}

	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getZipcode() {
		return this.zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public Set getGroups() {
		return this.groups;
	}

	public void setGroups(Set groups) {
		this.groups = groups;
	}

	public Set getAccounts() {
		return this.accounts;
	}

	public void setAccounts(Set accounts) {
		this.accounts = accounts;
	}

}